package com.lyw.db.dao

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query
import com.lyw.db.entites.Poem
import com.lyw.db.entites.Twister

@Dao
interface TwisterDao {
    @Query("SELECT * FROM twister")
    fun getAllTwisters(): List<Twister>



    @Insert
    fun insertAll(vararg twister: Twister)

    @Insert
    fun insertAll( twisters: List<Twister>)
}